<?php

namespace app\admin\validate;

use think\Validate;

class BoxGameCateValidate extends Validate
{
    protected $rule =   [
//        'id'=>'require',
        'name'  => 'require',
        'sort'   => 'require',
//        'status' => 'require|in:1,2',
    ];

    protected $message  =   [
//        'id.require' => '记录必须',
        'name.require' => '游戏分类名称必须',
        'sort.require'   => '游戏分类权重必须',
//        'status.require'  => '游戏分类状态必须',
    ];
}